cmake_minimum_required(VERSION 3.16)

project(project2)

if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
    include(CTest)
endif()

set(CMAKE_CXX_STANDARD 17)

include_directories(include)
include_directories(MultiGrid)

add_subdirectory(MultiGrid)
add_subdirectory(main)


if(BUILD_TESTING)
    add_subdirectory(test)
endif()